from django import template

register = template.Library()

@register.filter('klass')
def klass(ob):
    return ob.field.__class__.__name__.lower()
